A Simulation Framework for Heterogeneous Agents
نویسندگان
چکیده
We introduce a generic simulation framework suitable for agent-based simulations featuring the support of heterogeneous agents, hierarchical scheduling and flexible specification of design parameters. One key aspect of this framework is the design specification: we use an XML-based format which is simple-structured yet still enables the design of flexible models. Another issue in agent-based simulations, especially when ready-made components are used, is the heterogeneity arising from both the agents’ implementations and the underlying platforms. To tackle these kind of obstacles, we introduce a wrapper technique for mapping the functionality of agents living in an interpreter-based environment to a standardized JAVA interface, thus facilitating the task for any control mechanism (like a simulation manager) because it has to handle only one set of commands for all agents involved. Again, this mapping is made by an XML-based definition format. We demonstrate the technique by applying it to a simple sample simulation of two mass marketing firms operating in an artificial consumer environment. 1 Overview: The Simulation Concept Simulations are often implemented by using an object-oriented style of programming, allowing for distributed objects (over a cluster of workstations or even the Internet). In the following, we consider the example of an agent-based economic simulation: one can think of each economic entity as an agent, e.g., firms, (groups of) consumers, investors, markets, etc., interacting with each other. A typical simulation combines several agents, defines their relationships and observes the resulting interactions between them over time. After the simulation design has been defined (see, e.g., Richter & März, 2000), running a simulation usually amounts to writing a control program in one’s favorite programming language, named the simulation manager (see below), coordinating a set of previously implemented, autonomous agents. One might wish that all agents should provide standardized interfaces such that they automatically have the same bindings and thus can be used for simulations as modularized components. General mechanisms for providing standardized interfaces (like CORBA) do exist, but usually require advanced programming skills to be used. We therefore offer an easy-to-use mechanism enabling the integration of data analysis environments like MATLAB, Octave or R, as they offer convenient ways of analyzing simulation results and are also (typically) used for implementing objects and methods. Another key issue is the variation of parameters in controlled experiments. Furthermore, we need a scheduling scheme determining the order of invocation within a single experiment (design) and the number of runs (periods) per design. Consider a simple example involving two competing firms, named "Firm A" and "Firm B", respectively, operating on a consumer market (see Figure 1). Each firm could be modularized itself, having agents responsible for marketing, production and finance. Market coordination and clearing may be performed by a consumer market agent, which models a (disaggregated) consumer population. In addition, a global environment, representing the common knowledge of all agents, is typically involved: this environment may be stored, e.g., in an SQL database, thus solving problems arising from simultaneous access by different agents (like blocking etc.), or managed by an information broker similar to the one described in Wilson et al. (2000)—but these mechanisms are highly specific to the simulation design. After a brief review of related work, we therefore restrict the presentation of our software1 to: • The specification of the simulation settings in XML for a generic simulation manager, supporting multiple design specification, and • The “normalization” of agent interfaces via a wrapping technique, thus allowing the simulation manager to treat all agents the same way. We complement the technical presentation by an application to a simulation of two mass marketing firms operating in an artificial consumer environment. available at: http://elrond.ci.tuwien.ac.at/software/simenv-1.0.tgz
منابع مشابه
Hierarchical Functional Concepts for Knowledge Transfer among Reinforcement Learning Agents
This article introduces the notions of functional space and concept as a way of knowledge representation and abstraction for Reinforcement Learning agents. These definitions are used as a tool of knowledge transfer among agents. The agents are assumed to be heterogeneous; they have different state spaces but share a same dynamic, reward and action space. In other words, the agents are assumed t...
متن کاملAdaptive Distributed Consensus Control for a Class of Heterogeneous and Uncertain Nonlinear Multi-Agent Systems
This paper has been devoted to the design of a distributed consensus control for a class of uncertain nonlinear multi-agent systems in the strict-feedback form. The communication between the agents has been described by a directed graph. Radial-basis function neural networks have been used for the approximation of the uncertain and heterogeneous dynamics of the followers as well as the effect o...
متن کاملSIMENV: A Dynamic Simulation Environment for Heterogeneous Agents
We introduce a generic simulation framework suitable for agent-based simulations featuring the support of heterogeneous agents, hierarchical scheduling, and flexible specification of design parameters. One key aspect of this framework is the design specification: we use a format based on the Extensible Markup Language (XML) that is simple-structured yet still enables the design of flexible mode...
متن کاملFinite element simulation of pyroplastic deformation, anisotropic shrinkage and heterogeneous densification for ceramic materials during liquid phase sintering process
Pyroplastic deformation is a distortion of the ceramic shape during the sintering process. It occurs because the flow of the vitreous phase at high temperature and the applied stress due to the weight of the product during sintering process. The aim of this paper deals with describing a numerical-experimental method to evaluate the pyroplastic deformation, to predict the anisotropic shrinkage a...
متن کاملTowards Simulating Heterogeneous Drivers with Cognitive Agents
Every driver behaves differently in traffic. However, when it comes to micro-simulation of drivers with a high level of detail no framework manages to model the complexities of various driving styles as well as scale up to larger simulations. We propose a framework of micro-simulation combined with cognitive agents to facilitate such simulation tasks. Our goal is to (i) model individual drivers...
متن کاملEnhanced Grinder Framework with Scheduling and Improved Agents
Researchers are still trying to find effective ways to test web application. There are many techniques and tools for web application testing. In this dissertation, we have enhanced grinder performance tool with scheduling and improved Agents. The Grinder makes use of a powerful distributed Java load testing framework that allows simulation of multiple user loads across different “agents” which ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002